home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 701-725 / 708 / intuisup / intuisup42.lha / Intuisup / source.lha / Borders / makefile < prev   
Makefile  |  1992-04-22  |  920b  |  40 lines

  1. #
  2. #        Makefile for Borders (Aztec C v5.2a)
  3. #
  4. # Macros
  5. #
  6. #DEFINES    =-dMWDEBUG
  7. DEFINES    =
  8. CFLAGS_PRE =-a -ms -pacs0t -so -wdelopqw -ho ram:borders.pre
  9. CFLAGS_TEST=$(DEFINES) -ms -pacs0t -so -wdelopqw -hi ram:borders.pre
  10. CFLAGS_LIB =$(DEFINES) -mbs -pacs0t -so -wdelopqw -hi ram:borders.pre
  11. LFLAGS     =-m +q
  12. INCLUDES   =/render/render.h borders.h
  13. OBJECTS    =borders.o borders_test.o /render/render.o
  14. #LIBRARIES  =-lmemwatch16 -lc16
  15. LIBRARIES  =-lc16
  16. #
  17. # Dependancy entries
  18. #
  19. all: ram:borders.pre borders_test clear
  20. #
  21. ram:borders.pre: borders.pre
  22.    copy borders.pre $@ clone
  23. #
  24. borders.pre: includes.h
  25.    cc $(CFLAGS_PRE) -o nil: includes.h
  26.    copy ram:$@ $@ clone
  27. #
  28. borders_test: $(OBJECTS)
  29.    ln $(LFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
  30. #
  31. borders_test.o: borders_test.c $(INCLUDES)
  32.    cc $(CFLAGS_TEST) -o $@ $*.c
  33. #
  34. borders.o: borders.c $(INCLUDES)
  35.    cc $(CFLAGS_LIB) -o $@ $*.c
  36. #
  37. clear:
  38.    delete ram:#?.pre
  39. #
  40.